package com.health.db.service.user;

import java.util.List;

import com.health.db.model.PatientShortInfo;
import com.health.db.model.UserPatient;

public interface IPatientShortInfoService {
	 int insert(PatientShortInfo record,String userId);
	 String selectMedicalCardNoKey();
	 int updateByPrimaryKeySelective(PatientShortInfo record);
	 
	 List<PatientShortInfo> selectByUserId(Long userId);
	 int updateUserPatient(UserPatient userPatient);
	 
	 int updateUserPatientByUserIdPatientId(UserPatient record);
	 
	 PatientShortInfo selectByMedicalCardNo(String medicalCardNo);
	 
	 PatientShortInfo selectById(Long id);
}